package cn.hengzhu.main_manager.repository.dao;

import cn.hengzhu.main_manager.repository.domain.ManageComp;
import cn.hengzhu.main_manager.repository.domain.ManageCompExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface ManageCompMapper {
    /**
     *
     * @mbg.generated
     */
    long countByExample(ManageCompExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByExample(ManageCompExample example);

    /**
     *
     * @mbg.generated
     */
    int deleteByPrimaryKey(Integer compId);

    /**
     *
     * @mbg.generated
     */
    int insert(ManageComp record);

    /**
     *
     * @mbg.generated
     */
    int insertSelective(ManageComp record);

    /**
     *
     * @mbg.generated
     */
    List<ManageComp> selectByExample(ManageCompExample example);

    /**
     *
     * @mbg.generated
     */
    ManageComp selectByPrimaryKey(Integer compId);

    /**
     *
     * @mbg.generated
     */
    int updateByExampleSelective(@Param("record") ManageComp record, @Param("example") ManageCompExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByExample(@Param("record") ManageComp record, @Param("example") ManageCompExample example);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKeySelective(ManageComp record);

    /**
     *
     * @mbg.generated
     */
    int updateByPrimaryKey(ManageComp record);
    
    List<ManageComp> getCompListBySelect(@Param("compId") Integer compId);
}